package org.example.authentication.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.example.authentication.pojo.SysUser;

public interface SysUserService extends IService<SysUser> {
    /**
     * 根据用户名，获取角色权限
     *
     * @param username
     * @return 用户
     */
    SysUser listRolePermByName(String username);

    SysUser getUser(String username);
}
